#ifndef SRDETAILEDAUDITINFO_H
#define SRDETAILEDAUDITINFO_H

#include <QWidget>
#include <QMap>
class QStandardItemModel;
class QTableView;
class QCheckBox;
class QLineEdit;
class QPushButton;

// 详细的信息
class SRDetailedAuditInfo : public QWidget
{
    Q_OBJECT
public:
    explicit SRDetailedAuditInfo(QWidget *parent = 0);


    void setAuditId(const QString& _auditId);

    void setAuditData(const QString& _data);

private:

    virtual void showEvent(QShowEvent *event);

Q_SIGNALS:


public slots:


private Q_SLOTS:

    void onQuery(void);

private:

private:


private:

    void insertModelData(const QString& id,
                         const QString& audit_id,
                         const int &is_export,
                         const QString& transaction_count,
                         const QString& txid,
                         const QString& crt_time);


private:
    QString auditId_;
    QString auditData_;
    QLineEdit* edtAuditNum_;
    QStandardItemModel *model_;
    QTableView* tableView_;
    QPushButton* btnAllSelect_;
    // id : sign data
    QMap<QString,QString> mapBroadcasting_;

    std::atomic<bool> bThreadReadExcel_;
    std::atomic<bool> bThreadSign_;


};

#endif // SRDETAILEDAUDITINFO_H
